function multiplicationTable(num){
  for(let i = 1; i <= 10; i++){
    console.log(`${num} x ${i} = ${num * i}`);
  }
}

multiplicationTable(7);